﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MS.InformationManagement.Support.Constants
{
    public static class RegularExpresions
    {
        public const string EXP_EMAIL = @"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*";
        public const string EXP_ALFANUMERIC = @"^[0-9a-zA-ZñÑáa-zéíóúÁÉÍÓÚa-z\ _]*[A-Za-z0-9][A-Za-z0-9 _]*$";
        public const string EXP_ALFANUMERIC_NO_TILDE = @"^([a-zA-Z0-9_\-]*)$";
        public const string EXP_ALFANUMERIC_NO_TILDE_NO_NUMBERS = @"^([a-zñÑA-Z_\s\-]*)$";
        public const string EXP_ALFANUMERIC_NO_TILDE_NUMBERS = @"^([a-zñÑA-Z0-9_\s\-\&]*)$";
        public const string EXP_ID = @"^([0-9_\-]*)$";
        public const string EXP_MAXLENGTH = @"^[\s\S]{0,#}$";
        public const string ISO8601FORMAT = "yyyy-MM-ddT00:00:00Z";
        public const string EXP_DECIMAL = @"^\$?[+-]?[0-9]{{1,3}}(?:\{0}?[0-9]{{3}})*(?:\{1}[0-9]{{1,2}})?$";//@"^\d{1,3}(,?\d{3})*(\.\d{2})$";//@"^\d{{1,3}}({0}?\d{{3}})*(\{1}\d{{2}})?$";//"^\d+(\{0}\d{{1,2}})?$";
       
    }
}
